package com.hbx.dto.rank;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/*
 * @Author:hbx
 * 
 * */

@Data
public class InsertOrUpdateDto {
    @ApiModelProperty(value = "头衔id")
    private Integer id;

    @ApiModelProperty(value = "头衔名")
    @NotBlank(message = "头衔名为必传项")
    private String rankName;

    @ApiModelProperty(value = "头衔颜色")
    @NotBlank(message = "头衔颜色为必传项")
    private String rankColor;

    @ApiModelProperty(value = "头衔描述")
    @NotBlank(message = "头衔描述为必传项")
    private String rankDesc;
}
